package com.lzk.user.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lzk.basic.domain.BaseDomain;
import lombok.Data;

import java.util.Date;

@Data
public class User extends BaseDomain {
    private String username;
    private String phone;
    private String email;
    private String salt;
    private String password;
    private Integer state = 1;
    private Integer age;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createtime = new Date();
    private String headImg;
    private Long logininfo_id;
    //登录信息详情
    private LoginInfo loginInfo;
}
